import json
import requests
from urllib import parse

# 不需要登录OA
test_base_url = 'http://localhost:11085'
# 鲁班回调地址
test_url = "/crm-web/luban/callback"
request_url = parse.urljoin(test_base_url,test_url)
print(request_url)
json_params = {
    "extractType":1,
    "isAll":False
}
response = requests.post(request_url,json=json_params)
print(response.text)